package cn.chendd.bootsrtap.client;

import cn.chendd.bootsrtap.SeataXidRequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 用户管理 接口调用
 * @author chendd
 * @date 2023/1/23 23:47
 */
@FeignClient(name = "chendd-seata-users" , path = "/seata-users/api" , configuration = SeataXidRequestInterceptor.class)
public interface UsersClient {

    /**
     * 插入数据成功
     */
    @GetMapping("/success")
    void insertSuccess();
}
